<?php
/**
 * Sea Framework
 * 
 * @author Feilong Li <yeephp@gmail.com>
 * @license New BSD License 
 * @version $Id: index.php 14 2010-09-29 16:31:13Z yeephp $
 */
/**
 * 入口程序
 */
defined('SEA_DEBUG') or define('SEA_DEBUG', true);
defined('SEA_TRACE') or define('SEA_TRACE', true);

//配置文件
$config = realpath(dirname(__FILE__).'/../protected/config.php');
//启动文件
$bootstrap = realpath(dirname(__FILE__).'/../library/sea/Application.php');

require_once($bootstrap);

Application::create($config)->run();

